Skip(TSource) Method

Task Parallel System.Threading

Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements.

Namespace:  System.Linq
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Skip(Of TSource) ( _
	source As ParallelQuery(Of TSource), _
	count As Integer _
) As ParallelQuery(Of TSource)
C#
public static ParallelQuery<TSource> Skip<TSource>(
	ParallelQuery<TSource> source,
	int count
)

Parameters

source
Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
The sequence to return elements from.
count
Type: System..::.Int32
The number of elements to skip before returning the remaining elements.

Type Parameters

TSource
The type of elements of source.

Return Value

A sequence that contains the elements that occur after the specified index in the input sequence.

Exceptions

ExceptionCondition
System..::.ArgumentNullException source is a null reference (Nothing in Visual Basic).

See Also